<template>
  <div class="about">
    <h1>This is an about page</h1>
	<button @click="add">{{num}}</button>
	<div v-for="item in list" :key="item">
		{{item}}
	</div>
	<button @click="list.push('a')">添加</button>
  </div>
</template>
<script>
	import num from '@/mixin/num.js'
	export default{
		mixins:[num],
		data(){
			return {
				list:["vue","react","angular"]
			}
		},
		mounted() {
			Object.freeze(this.list);
		}
		}
</script>